package se.webbzon.boltzmann.game.sequence.builder.dialogue;

import se.webbzon.boltzmann.game.object.dialogue.DialogueBackground;
import se.webbzon.boltzmann.game.object.dialogue.layout.DialogueLayout;
import se.webbzon.boltzmann.game.sequence.builder.AbstractSequenceRow;
import se.webbzon.boltzmann.game.sequence.builder.SequenceBuilder;

public abstract class AbstractDialogueRow extends AbstractSequenceRow {
	
	// The layout of the abstract dialogue
	private DialogueLayout layout;
	
	// The background of the abstract dialogue
	private DialogueBackground background;
	
	// The text of the abstract dialogue
	private String text;
		
	/*============================================================
	Constructors
	============================================================*/

	/** Creates a new abstract dialogue row. **/
	public AbstractDialogueRow(	String name,
								SequenceBuilder builder, 
								DialogueLayout layout, 
								DialogueBackground background,
								String text) {
		super(name,builder);
		this.layout = layout;
		this.background = background;
		this.text = text;
	}

	/*============================================================
	Public Methods
	============================================================*/
	
	/** Returns the dialogue layout of this dialogue row. **/
	public DialogueLayout getLayout() {
		return layout;
	}
	
	/** Sets the dialogue layout of this dialogue row. **/
	public void setLayout(DialogueLayout layout) {
		this.layout = layout;
	}
	
	/** Returns the background of the dialogue row. **/
	public DialogueBackground getBackground() {
		return background;
	}
	
	/** Sets the background of the dialogue row. **/
	public void setBackground(DialogueBackground background) {
		this.background = background;
	}
	
	/** Returns the text of the dialogue row. **/
	public String getText() {
		return text;
	}
	
	/** Sets the text of the dialogue row. **/
	public void setText(String text) {
		this.text = text;
	}

}
